home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / serial / callback.001 / callback~ / callback / lib / ttyline / ttyline.h < prev    next >
C/C++ Source or Header  |  1996-07-22  |  545b  |  15 lines

  1. #ifndef _ttyline_H_
  2. #define _ttyline_H_
  3.  
  4. #include "../mem/mem.h"
  5.  
  6. void settyline(char *next);
  7. int activate_ttyline(unsigned index);   /* activate a ttyline  (0: ok) */
  8. void activate_ttylines();               /* activate all ttylines */
  9. int lookup_tty(char *line);             /* return index (or -1) */
  10. char *get_ttyline(unsigned index);      /* return name of ttyline */
  11. char *get_active_tty();                 /* active line(s) in sequence, or 0 */
  12. void reset_active_tty();                /* reset to first/active line */
  13.  
  14. #endif  _ttyline_H_
  15.